package br.iesb.util;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class XMLFileFilter extends FileFilter {

	@Override
	public boolean accept(File file) {
		return file.getName().toLowerCase().endsWith(".xml");
	}

	@Override
	public String getDescription() {
		return "Arquivo XML";
	}
	
}
